package org.ch04.test00.lx05.user;

import org.ch04.test00.lx05.animal.BuRuAnimal;

/**
 * 哺乳动物饲养员 - 泛型类 + 边界
 *
 * @author ZQX
 * @date 2025-03-31
 */
public class BuRuSiYangYuan<T extends BuRuAnimal> extends SiYangYuan<BuRuAnimal> {
    public void weiYang(T animal) {
        System.out.println("饲养员喂养动物...");
        animal.eat();
    }
}
